package com.maotai.llzhou.bean;

import java.io.UnsupportedEncodingException;
import java.util.Random;

public class CustomName {
	public static String[] name = { "罗治和", "邓飞", "周伟", "杨名林", "刘江强", "虞安德",
			"曾少群", "黄代洁", "黄思容", "舒岳阳", "吴开文", "韦仕晚", "项小明", "林超淡", "张帆",
			"王小兵", "蒋泽洋", "陈兵", "邹德峰", "姚建国", "郭辉", "李占宁", "郭汉民", "汪银和", "李振奎",
			"张磊", "王豫赣", "刘克峰", "刘兵", "韩存晓", "王力", "汪文亚", "李锐", "王兴飞", "李东明",
			"孙振洲", "冯建洲", "南现卿", "贾增科", "刘建立", "蒋国选", "魏五洋", "刘太远", "于战士",
			"宋利勇", "张忠利", "杜黔川", "丰建海", "李卫超", "金益君", "石强", "袁旺霞", "吴照勇",
			"陈颂农", "李建强", "闵放之", "董德光", "白玉丰", "张镇斌", "高贺贺", "田少雄", "吕继峰",
			"李家伟", "王甲栋", "罗延峰", "匡振平", "宋兴龙", "许海峰", "伍交忆", "许名亮", "高立朝",
			"晁云磊", "迭瑞喜", "胡俊", "方庆磊", "张国强", "胡浩", "李新", "吕春来", "徐安民", "尹军勇",
			"苗雷雷", "唐强", "刘威龙", "陈海昌", "余厚旺", "林德文", "邹斌", "沈杰", "王佩川", "张先政",
			"彭飞", "高文明", "梁光海", "胡春磊", "曾超", "司岳钱", "叶广声", "阮金斗", "梁志勇" };
	public static String[] name400 = {"罗治和", "邓飞", "周伟", "杨名林", "刘江强", "虞安德", "曾少群", 
		"黄代洁", "黄思容", "舒岳阳", "吴开文", "韦仕晚", "项小明", "林超淡", "张帆", "王小兵", "蒋泽洋", 
		"陈兵", "邹德峰", "姚建国", "郭辉", "李占宁", "郭汉民", "汪银和", "李振奎", "张磊", "王豫赣", 
		"刘克峰", "刘兵", "韩存晓", "王力", "汪文亚", "李锐", "王兴飞", "李东明", "孙振洲", "冯建洲", "南现卿", 
		"贾增科", "刘建立", "蒋国选", "魏五洋", "刘太远", "于战士", "宋利勇", "张忠利", "杜黔川", "丰建海", 
		"李卫超", "金益君", "石强", "袁旺霞", "吴照勇", "陈颂农", "李建强", "闵放之", "董德光", "白玉丰", "张镇斌", 
		"高贺贺", "田少雄", "吕继峰", "李家伟", "王甲栋", "罗延峰", "匡振平", "宋兴龙", "许海峰", "伍交忆", "许名亮", 
		"高立朝", "晁云磊", "迭瑞喜", "胡俊", "方庆磊", "张国强", "胡浩", "李新", "吕春来", "徐安民", "尹军勇", "苗雷雷", 
		"唐强", "刘威龙", "陈海昌", "余厚旺", "林德文", "邹斌", "沈杰", "王佩川", "张先政", "彭飞", "高文明", "梁光海", 
		"胡春磊", "曾超", "司岳钱", "叶广声", "阮金斗", "梁志勇", "李宏伟", "李奎", "何甫发", "尹威淏", "蔡学吉", "叶培周", 
		"曾永飞", "陈键", "高述博", "王建华", "何壮锐", "陈凯彬", "王传喜", "马俊飞", "彭龙", "吕品爱", "焦中华", "王道明", 
		"李拾坤", "孟天元", "尚阳", "陈迪哲", "张伟斌", "范喜", "洪玉坤", "钟树芬", "黄文乐", "钟乘鹏", "陈智辉", "杨常满", 
		"罗清杰", "李小建", "苏大跃", "温富强", "冯伟杰", "张纳", "宋志", "纪国帅", "王文滔", "余光涛", "代晓冲", "张浩", 
		"吴华杰", "周鲁猛", "陈冬", "杨不理", "李建豪", "黄大洪", "李京春", "刘碧波", "闫广帅", "周超", "张功超", "李洪龙", 
		"关伟良", "莫国方", "张印", "庄伟锋", "郑志强", "刘成君", "吴大亮", "张帅权", "黄奕萌", "楚胜明", "禤奇君", "张成尊", 
		"林文成", "王英", "刘钰晖", "贾荣华", "罗飞", "冉国龙", "邓杰", "曹宾朋", "贺志鹏", "薛立", "任小平", "李景师", 
		"夏云祥", "王太平", "何嘉威", "钟志华", "栗海腾", "李朋辉", "黄明旋", "柳小军", "赵慧明", "唐庆锋", "白琦林", "侯荣烛", 
		"唐生良", "温文成", "杜如刚", "李蒙", "严志敏", "李顺洛", "卢金满", "鲁海宝", "杜超", "马进龙", "陈炳秋", "赵江波", 
		"李金文", "徐文龙", "袁伟康", "蔡你宜", "洪远浩", "徐子贤", "褚建平", "王锏龙", "颜钞", "王定滔", "陆福", "满永毅", 
		"徐旱龙", "张国政", "张鹏", "邓丽清", "胡鸿涛", "杨宏力", "金剑峰", "李巧云", "陈灵锋", "谭林强", "刘祚帆", "艾兴岭", 
		"吴明超", "赵宁", "杨学文", "樊亚飞", "郝朝均", "李天来", "顾新春", "耿德林", "刘绍明", "张兵东", "胡建军", "李文杰", 
		"李昆松", "赵亮", "简永锋", "曹声威", "滕将章", "罗骏", "李军", "邓炜纲", "何耀光", "满延安", "唐艳密", "蔡可胜", 
		"周子鑫", "陈宗池", "史爱民", "陈兴奕", "朱方霖", "渠梦雪", "娄海玲", "王文洪", "张琦", "李梁", "练有艺", "崔占明", 
		"钟神祥", "陆金龙", "刀艾嘎", "秦桦", "钟志恒", "侯军", "谭选顺", "蔡杰彬", "魏振宏", "殷亮贤", "石明侠", "刘伟超", 
		"王吉云", "李梅军", "银建中", "李富洋", "李艾永", "高丽堂", "胡太锋", "张延庆", "覃梦彬", "陈俊玉", "周龙龙", "张首亮", 
		"鲁彦", "徐建民", "张正", "邹少杰", "袁汶粽", "张永博", "邓光平", "张应荣", "牛江红", "常凌云", "黄若萌", "赵骏", 
		"吴裕峰", "麦煜荣", "梁士林", "周煜锋", "吴伟", "高名扬", "张龙江", "冯光", "熊广", "邓朝玉", "林石生", "黄玲琼", 
		"徐桂运", "张峰", "李洋", "毛铭灏", "高金鑫", "费浩", "赵鹏", "税武", "罗浪", "伍家科", "勾邦毅", "杨海连", "张济中", 
		"薛波", "符丁川", "欧学祥", "吴万冲", "李乾", "林螺", "曹桥洪", "吴仿华", "王薏越", "彭国来", "张春阳", "赵义源", 
		"张兴涛", "江权", "张波", "詹乐华", "向磊", "何显亮", "朱玉德", "项正云", "代书泯", "范国良", "高杰", "谭增", "秦自强", 
		"袁宇", "李佳龙", "张军修", "冯二盼", "陈炜佳", "陈志强", "岑家", "涂金招", "张结友", "叶珊珊", "王美云", "龙丽霞", 
		"郭嘉韵", "何小华", "李嘉凤", "陈海花", "冯国丽", "黄红", "黄翠秀", "胡中玲", "杨小娟", "黄海宏", "吴剑梅", "谢钙坪", "田霞", 
		"何亚妹", "张翠", "吴雨晨", "肖玉敏", "黄桂飘", "温顺兰", "刘雪芳", "廉晓晓", "李虹", "唐少萍", "马志鸿", "田雅妮", "杨伟平", 
		"范美琴", "彭艳丽", "吴传连", "韦巧", "杨汉琴", "刘艳红", "沈煜琼", "黄问桃", "刘先敏", "龚勇芬", "黄丽云", "邓彩红", "梁兰秋", 
		"王小勤", "刘娟", "林泗华", "邢鑫芝", "陈秀美", "黄钻弟", "苏士超", "李囿蓉", "关馨", "牟小婷", "杭启婷", "李云慧", "白彩芳", 
		"游智宝", "胡培新", "黄燕", "张琴", "王肖林", "程梅", "贾红丽", "宁华秋", "孙春芳", "唐云玉", "黄招君", "陈迪", "曾思桐", "吴思瑶", 
		"李凯", "雷云", "帕米尔", "杨育芳", "汪孝钱", "李雨晨", "叶明媚", "李韦乐", "李菊云", "蔡丽丽", "赵玉玲", "曾至凤", "高苗青", "吴嫦娥", 
		"陈凤娇", "郭二菊", "尚金凤", "张贞丽", "方晓燕", "杨春苗", "胡萍萍", "汪小琼", "刘超", "谢芳", "孙汉梅", "董建菊", "张峰岩", "于佳", 
		"刘新春", "温彩媚", "任叶", "万桂晨", "鲁小平", "黄永秀", "蔡小晶", "刘清华", "李丽娟", "薛小四", "许春望", "葛青段", "杨慧", "张静静", 
		"黎小燕", "龙艳", "石珊", "简培敬", "谭光春", "孙洪敏", "钟春连", "叶艳平", "王佳", "崔璐瑶", "韩妮娜", "王夲", "谢妞妞", "黄柏玲", "侯秀利", 
		"张华丽", "牛晓鸽", "张慧", "崔佳敏", "李丹", "张丽英", "邱红霞", "李小梅"};
	public static String[] wuxiname = {"郁丽", "陈坤良", "陈林", "陈斌", "韩伦娣", "韩芬娣", "韩巧娣", "韩进娣", "王遵安", "王剑", "王健力", "周宝娣", "陈辛知", "项慕亮", "孙斌", "谢林", "季伟东", "季庆英", "何丹", "施皓杰"};
	public static String address[] = { "荷叶新村", "孙蒋新村", "仙蠡墩家园", "中建溪岸官邸" };
//	public static String shangdian[] = { "粮店", "食品点", "煤店", "食品杂货", "酱园", "",
//			"肉店", "酒店", "水产店", "家禽店", "豆腐店", "烤肉店", "卤味店", "饮食店", "小吃店", "饭店",
//			"冷饮店", "蔬菜店水果店", "蔬菜店", "鞋帽店", "百货公司", "百货商场", "服装店", "成衣店",
//			"呢绒绸布店", "药店", "儿童用品商店", "妇女用品商店", "钟表店", "文具店", "日用杂货店", "炊事用具商店",
//			"家用器具商店", "五金商店", "家具店", "眼镜店", "玻璃礼品店", "爆竹鞭炮店", "电器商店", "油漆店",
//			"化工油漆染料店", "地产建材商店", "照相馆", "旧货店", "综合修理店", "花店", "古玩珠宝店", "香烟店",
//			"售报亭", "茶馆", "理发店", "洗澡堂", "旅店", "邮局" };
	public static String newAddress1[] = {"扬州市广陵区","扬州市江都区"};
	public static String newAddress2[] = {"中国石化渡江加油站", "中国石化连运加油站", "中国石化城东加油站", "中国石化杭集加油站"};
	public static String newAddress3[] = {"中国石化花荡加油站", "中国石化远东加油站", "中国石化黄海北路加油站", "中国石化扬营加油站","中国石化江港加油站","中石化东郊加油站"};
	public static String shanghaiAddress[] = {"天津路", "滇池路", "宁波路", "北京东路","河南中路","山东北路","圆明园路","南苏州路","九江路","汉口路","江西中路"};
	public static String zimu[] = { "a", "b", "c", "d", "", "e", "f", "g", "h",
			"i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u",
			"v", "w", "x", "y", "z" };
	public static String suzhouAddress[]={
		"直塘镇虹桥村中石化壳牌新联加油站",
		"岳王镇大街西侧中石化壳牌岳王加油站",
		"新塘张家桥中石化壳牌新塘加油站",
		"双凤镇南新村中石化壳牌双凤加油站",
		"双凤镇凤中村二组中石化壳牌双凤汽车加油站",
		"沙溪镇轻纺市场南中石化壳牌沙溪第一加油站",
		"沙溪镇凤凰村八组中石化壳牌宝直加油站",
		"沙溪镇东一号桥南堍西侧中石化壳牌沙溪第三加油站",
		"南郊镇新丰村中石化壳牌南郊第三加油站",
		"鹿河镇东泾村8组中石化壳牌鹿河加油站",
		"陆渡镇陆西村河北组中石化壳牌陆渡加油站",
		"浏家港镇马北村中石化壳牌浏家港加油站",
		"浏家港茜星村中石化壳牌茜星(浏2站)加油站",
		"浏河镇农场村五组中石化壳牌银河加油站",
		"浏河镇东仓村八组中石化壳牌浏河中心加油站",
		"金浪镇先锋村中石化壳牌金浪加油站",
		"金浪镇老闸镇新华路66号中石化壳牌老闸加油站",
		"璜泾镇新华村九组中石化壳牌璜泾-2加油站",
		"璜泾镇王秀区南中石化壳牌王秀加油站",
		"璜泾镇前进村中石化壳牌璜泾-1加油站",
		"归庄镇渠泾村中石化壳牌归庄加油站",
		"浮桥镇西侧南环路北侧建红段中石化壳牌浮桥加油站",
		"城厢镇新毛管理区电站村中石化壳牌新毛加油站",
		"城厢镇西门204国道城北村黄泥组中石化壳牌西门1加油站",
		"城厢镇太昆路61号中石化壳牌机关加油站",
		"城厢镇南郊中兴路北侧中石化壳牌南郊加油站",
		"城厢镇东仓南路85号路西侧中石化壳牌新区加油站",
		"城厢镇339与毛太路口向南200米中石化壳牌交通加油站"};
	public static String[] shanghaiCun = {
		"朱家角村",
		"周荡村",
		"横江村",
		"盛家埭村",
		"张家圩村",
		"新旺村",
		"新华村",
		"万隆村",
		"小江村",
		"周家港村",
		"沙家埭村",
		"薛间村",
		"山湾村",
		"庆丰村",
		"淀峰村",
		"创建村",
		"山海桥村",
		"淀山湖一村",
		"水产村",
		"安庄村",
		"先锋村",
		"沈巷村",
		"张马村",
		"李庄村",
		"建新村",
		"王金村",
		"林家村",
		"新胜村",
		"张巷村"
	};
	public static String[] tszf = {"零","壹","贰","叁","肆","伍","陆","柒","捌","玖","拾","佰","仟","万","亿","吉","太","拍","艾","分","厘","毫","微","Ⅰ","Ⅱ","Ⅲ","Ⅳ","Ⅴ","Ⅵ","Ⅶ","Ⅷ","Ⅸ","Ⅹ","Ⅺ","Ⅻ","①","②","③","④","⑤","⑥","⑦","⑧","⑨","⑩","一","二","三","四","五","六","七","八","九","十","⒈","⒉","⒊","⒋","⒌","⒍","⒎","⒏","⒐","⒑","⒒","⒓","⒔","⒕","⒖","⒗","⒘","⒙","⒚","⒛","＋","－","×","÷","﹢","﹣","±","／","＝","∥","∠","≌","∽","≦","≧","≒","﹤","﹥","≈","≡","≠","＝","≤","≥","＜","＞","≮","≯","：","．","。","，","、","；","","：","？","！","—","～","-","〃",""};
	public static String getZimu() {
		int max = zimu.length;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return zimu[s];
	}
	public static String getShanghaiCun() {
		int max = shanghaiCun.length;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return shanghaiCun[s];
	}
	public static String getShtszf() {
		int max = tszf.length;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return tszf[s];
	}
	public static String getSuZhouAddress() {
		int max = suzhouAddress.length;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return suzhouAddress[s];
	}
	public static String getNewAddress1() {
		int max1 = newAddress1.length;
		int min1 = 0;
		Random random1 = new Random();
		int s1 = random1.nextInt(max1) % (max1 - min1 + 1) + min1;
		return newAddress1[s1];
	}
	public static String getShanghaiAddress() {
		int max1 = shanghaiAddress.length;
		int min1 = 0;
		Random random1 = new Random();
		int s1 = random1.nextInt(max1) % (max1 - min1 + 1) + min1;
		return shanghaiAddress[s1];
	}
	public static String getNewAddress2(String address1) {
		String address = "";
		if("扬州市广陵区".equals(address1)){
			int max2 = newAddress2.length;
			int min2 = 0;
			Random random2 = new Random();
			int s2 = random2.nextInt(max2) % (max2 - min2 + 1) + min2;
			address = newAddress2[s2];
		}else if("扬州市江都区".equals(address1)){
			int max3 = newAddress3.length;
			int min3 = 0;
			Random random3 = new Random();
			int s3 = random3.nextInt(max3) % (max3 - min3 + 1) + min3;
			address = newAddress3[s3];
		}
		return address;
	}
	public static String getNewTel() {
		int max = 9;
		int min = 0;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		int s2 = random.nextInt(max) % (max - min + 1) + min;
		int s3 = random.nextInt(max) % (max - min + 1) + min;
		int s4 = random.nextInt(max) % (max - min + 1) + min;
		int s5 = random.nextInt(max) % (max - min + 1) + min;
		return "180000" + s1 + s2 + s3 + s4 + s5;
	}

	public static String getName() {
		int max = 99;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return name[s];
	}

	public static String getAddress() {
		int max = 3;
		int min = 0;
		Random random = new Random();
		int s = random.nextInt(max) % (max - min + 1) + min;
		return address[s];
	}

	public static String getAddressCode() {
		int max = 9;
		int min = 0;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		int s2 = random.nextInt(max) % (max - min + 1) + min;
		int s3 = random.nextInt(max) % (max - min + 1) + min;
		return "1" + s1 + s2 + s3;
	}

	public static String getMenPaiCode() {
		int max = 9;
		int min = 0;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		int s2 = random.nextInt(max) % (max - min + 1) + min;
		return "1" + s1 + s2;
	}

//	public static String getMenPai() {
//		int max = shangdian.length;
//		int min = 0;
//		Random random = new Random();
//		int s = random.nextInt(max) % (max - min + 1) + min;
//		return shangdian[s];
//	}
	public static int getRandomGuiZe(){
		/**
		 * XXX号	XXX公司	XX楼XX室
			XXX店	XXX号	
			XXX小区	XXX栋	XX楼XX室
			XXX号	XXX店	-1
			XXX号	多余文字	

		 */
		int max = 5;
		int min = 1;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		return  s1;
	}
	public static int getRandomGuiZeNew(){
		/**
		 * XXX号	XXX公司	XX楼XX室
			XXX店	XXX号	
			XXX小区	XXX栋	XX楼XX室
			XXX号	XXX店	-1
			XXX号	多余文字	

		 */
		int max = 10;
		int min = 1;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		return  s1;
	}
	public static String getRandomChar() throws UnsupportedEncodingException {
		Random random = new Random();
		String[] rBase = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
				"a", "b", "c", "d", "e", "f" };
		// 生成第1位的区码
		int r1 = random.nextInt(3) + 11; // 生成11到14之间的随机数
		String str_r1 = rBase[r1];
		// 生成第2位的区码
		int r2;
		if (r1 == 13) {
			r2 = random.nextInt(7); // 生成0到7之间的随机数
		} else {
			r2 = random.nextInt(16); // 生成0到16之间的随机数
		}
		String str_r2 = rBase[r2];
		// 生成第1位的位码
		int r3 = random.nextInt(6) + 10; // 生成10到16之间的随机数
		String str_r3 = rBase[r3];
		// 生成第2位的位码
		int r4;
		if (r3 == 10) {
			r4 = random.nextInt(15) + 1; // 生成1到16之间的随机数
		} else if (r3 == 15) {
			r4 = random.nextInt(15); // 生成0到15之间的随机数
		} else {
			r4 = random.nextInt(16); // 生成0到16之间的随机数
		}
		String str_r4 = rBase[r4];
//		System.out.println("区码+位码=" + str_r1 + str_r2 + str_r3 + str_r4);

		// 将生成机内码转换为汉字
		byte[] bytes = new byte[2];
		// 将生成的区码保存到字节数组的第1个元素中
		String str_r12 = str_r1 + str_r2;
		int tempLow = Integer.parseInt(str_r12, 16);
		bytes[0] = (byte) tempLow;
		// 将生成的位码保存到字节数组的第2个元素中
		String str_r34 = str_r3 + str_r4;
		int tempHigh = Integer.parseInt(str_r34, 16);
		bytes[1] = (byte) tempHigh;
		String ctmp = new String(bytes, "gb2312"); // 根据字节数组生成汉字
//		System.out.println("生成汉字:" + ctmp);
		return ctmp;
	}
	public static String getRoad(){
		int max = 4;
		int min = 2;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		String temp = "";
		try{
			for(int i=0;i<s1;i++){
				temp +=getRandomChar();
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return temp;
	}
	public static String getNameNew(){
		int max = 5;
		int min = 3;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		String temp = "";
		try{
			for(int i=0;i<s1;i++){
				temp +=getZimu();
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return temp;
	}
	public static int getNum(){
		int max = 3;
		int min = 1;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		return s1;
	}
	public static String getNum3(){
		int max = 3;
		int min = 1;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		String temp = "";
		try{
			for(int i=0;i<s1;i++){
				int s2 = random.nextInt(9) % (9 - 1 + 1) + 1;;
				temp +=s2+"";
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return temp;
	}
	public static String getNum1(){
		int max = 1;
		int min = 1;
		Random random = new Random();
		int s1 = random.nextInt(max) % (max - min + 1) + min;
		String temp = "";
		try{
			for(int i=0;i<s1;i++){
				int s2 = random.nextInt(9) % (9 - 1 + 1) + 1;;
				temp +=s2+"";
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return temp;
	}
	public static void main(String[] args) throws Exception {
//		int lou = CustomName.getRandomGuiZe();
//		System.out.println(CustomName.getRoad()+"路"+CustomName.getNum()+"号"+CustomName.getRoad()+"小区"+CustomName.getRandomGuiZe()+"栋"+lou+"楼"+lou+"0"+getNum1()+"室");
//		int max = 150;
//		int min = 1;
//		Random random = new Random();
//		double s1 = random.nextDouble()*  (max - min + 1) + min;
//		System.out.println(s1);
		System.out.println(getNum());
	}
}
